package org.moocgen.model;

import java.util.HashSet;
import java.util.Set;

import javax.persistence.ManyToOne;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.json.RooJson;
import org.springframework.roo.addon.layers.repository.mongo.RooMongoEntity;
import org.springframework.roo.addon.tostring.RooToString;

@RooJson
@RooJavaBean
@RooToString
@RooMongoEntity
public class Review 
{
	@ManyToOne
	private User user;
	
	@ManyToOne
	private Submission submission;

	private String answer;
	private Set<KeyEvent> comment = new HashSet<KeyEvent>();	//Long for timestamp, Interger for ASCII codes
}
